package com.gxa.community.core.pojo.vo.order;

import com.gxa.community.core.pojo.domain.DriverInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
public class WayBillInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("运单号")
    private String no;

    @ApiModelProperty("运单创建时间")
    private Long createTime;

    @ApiModelProperty("发货时间")
    private Long shipTime;

    @ApiModelProperty("司机id")
    private Integer driverId;

    /**
     * 司机
     */
    private DriverInfo driver;

    private List<OrderInfoVo> orders;

    @ApiModelProperty("备注")
    private String tips;

    @ApiModelProperty("运输状态 1待配送 2配送中 3已送达 4已确认收货")
    private Integer status;
}